<%@page contentType="text/html;charset=UTF-8"%>
<%@page pageEncoding="UTF-8"%>
<%@ page session="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<article class="module width_full">
	<header>
		<h3 class="tabs_involved">Accounts</h3>
	</header>

	<div class="tab_container">
		<div id="tab1" class="tab_content">
			<table class="tablesorter" cellspacing="0">
				<thead>
					<tr>
						<th></th>
						<c:forEach items="${UIModel.fieldLabels}" var="item"
							varStatus="status">
							<th>${UIModel.fieldLabels[status.index]}</th>
						</c:forEach>
						<th></th>
					</tr>
				</thead>
				<tbody>
					<c:forEach begin="0" end="${UIModel.numberOfRows()-1}"
						varStatus="row">
						<tr>
							<td><input type="checkbox"></td>
							<c:forEach begin="0" end="${UIModel.numberOfColumns()-1}"
								varStatus="column">
								<td>${UIModel.valueAt(row.index, column.index)}</td>
							</c:forEach>
							<td><input type="image" src="images/icn_edit.png"
								title="Edit"><input type="image"
								src="images/icn_trash.png" title="Trash"></td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</article>
